home *** CD-ROM | disk | FTP | other *** search
- /*
- Switches to a different set or size of fonts
- $VER: ChangeFonts.awebrx 1.1 (8.11.2000)
- (c) Neil Bothwick, Wirenet
-
- 1.1 - Uses "parse source" to get the name of the CD
- */
-
- options results
- portname = address()
- parse source . ' ' . ' ' . ' ' ScriptName ' ' .
- CDName = left(ScriptName, pos(':', ScriptName) - 1)
- parse upper arg FontSet
-
- PrefsDir = 'AWeb3DEMO/Amigactive'
- FontsPage = 'html/BrowserFonts.html'
-
- select
- when FontSet = 'CANCEL' then do
- address command 'copy ENVARC:'PrefsDir'/browser ENV:'PrefsDir'/browser'
- 'go home'
- end
- when FontSet = 'USE' then 'go home'
- when FontSet = 'SAVE' then do
- address command 'copy ENV:'PrefsDir'/browser ENVARC:'PrefsDir'/browser'
- 'go home'
- end
- otherwise address command 'copy 'CDName':System/Prefs/env-archive/AWeb3DEMO/Amigactive/browser.'FontSet' ENV:'PrefsDir'/browser'
- end
-
- exit
-
-